package com.du.lin.dao;


import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.du.lin.bean.ShiroUser;
import com.du.lin.bean.User;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author lin
 * @since 2017-11-22
 */
public interface UserMapper extends BaseMapper<ShiroUser> {

    @Select("select * from user where deptid = #{deptId}")
    List<User> findUserByDeptId(@Param("deptId") String deptId);
}
